package org.cqut.system.work_record.service;

import org.cqut.system.work_record.domain.WorkRecord;
import com.baomidou.mybatisplus.extension.service.IService;
import org.cqut.system.work_record.vo.StudentWorkRecordVo;
import org.cqut.system.work_record.vo.TeacherWorkRecordVo;

import java.util.List;
import java.util.Map;

/**
 *
 * @author XiAoXu
 */
public interface WorkRecordService extends IService<WorkRecord> {

    List<TeacherWorkRecordVo> getRecordListForTeacher(String courseId);

    boolean saveRecords(Map<Object, Object> map);

    List<StudentWorkRecordVo> getRecordListForStudent(String studentId, String courseId);

    String getWorkPath(String recordId);
}
